using System; 
using System.Collections.Generic; 
using System.Text; 
using FluentNHibernate.Mapping;
using NH_Entity;

namespace NH_Map
{


    public class QHY_ConfigurationMap : ClassMap<QHY_Configuration>
    {

        public QHY_ConfigurationMap()
        {
            Table("QHY_Configuration");
            LazyLoad();
            Id(x => x.ItemID).GeneratedBy.Identity().Column("ItemID");
            Map(x => x.ItemName).Column("ItemName").Not.Nullable().Length(50);
            Map(x => x.ItemValue).Column("ItemValue").Length(500);
            Map(x => x.ItemDescription).Column("ItemDescription").Length(500);
        }
    }
}
